package com.jlf.app.sample;

import com.jlf.core.annotation.ServerComponentScan;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 文件注释
 *
 * @author wujr
 * 2023/7/5
 * @version 1.0
 * 【变更历史】
 * [wujr 2023/7/5 1.0 新增]
 */
@ComponentScan(basePackages = {"com.jlf.**.controller"})
@SpringBootApplication//(exclude={DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
@EnableScheduling
//@ServletComponentScan(basePackages = {"com.java.cloud.commons.*"})
@Slf4j
@MapperScan(basePackages = {"com.jlf.**.dao"})
@ServerComponentScan(basePackages = {"com.jlf.sample"})
public class SampleApplication {
    public static void main(String[] args) {
        SpringApplication.run(SampleApplication.class, args);
    }
}
